<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<html>
<head>
<title>Formations professionnelles : consultation</title>
</head>
<body>
	<table width="100%">
		<tr>
			<td>
				<table border="1" width="100%">
					<thead>
						<tr>
							<td align="center"><bean:message key="formationProfessionnelle.date"/></td>
							<td align="center"><bean:message key="formationProfessionnelle.libelle"/></td>
							<td align="center"><bean:message key="formationProfessionnelle.duree"/></td>
						</tr>
					</thead>
					<tbody>
						<logic:iterate name="listFormationProfessionnelle" id="formation">
						<tr>
							<td hidden="true"><bean:write name="formation" property="id" format="0"/></td>
							<td><bean:write name="formation" property="dateDebut" format="MM/yyyy"/></td>
							<td><bean:write name="formation" property="libelle"/></td>
							<td><bean:write name="formation" property="duree" format="0"/></td>
						</tr>
					</logic:iterate>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td colspan="3" align="center">
				<html:form action="/formationProfessionnelle.do?methode=afficherFormFormationProfessionnelle">
				<html:submit value="Ajouter formation"/>
				</html:form>
			</td>
		</tr>
	</table>
</body>
</html>